<button class="create-user">Member Login</button>
<div id="dialog" title="<strong>Login Form</strong>" style="display:none;">
    <?php echo form_open('akun/login'); ?>
        <span style="color: red"><?php if(isset($error)) echo $error; ?></span>
        <fieldset>
            <label for="name">Akun</label>
            <input type="text" name="username" id="name" class="text ui-widget-content ui-corner-all" />
            <label for="password">Kata Sandi</label>
            <input type="password" name="password" id="password" value="" class="text ui-widget-content ui-corner-all" />
            <input type="submit" name="login_submit" class="ui-button ui-state-default ui-corner-all" value="Masuk" />
            <?php echo anchor("akun/registrasi", "Daftar di sini &raquo;", array('style' => 'font-weight: bold; color:#990000')) ?>
	</fieldset>
    <?php echo form_close(); ?>
</div>
<!--Menu-->
<div id="menu">
    <ul>
        <li><a href="index.php" class="<?php echo ($this->uri->segment(1) == FALSE || $this->uri->segment(1) == 'home') ? "btn_awal btn_awal_hover" : "btn_awal"?>">Beranda</a></li>
        <li><a href="index.php/kontak" class="<?php echo ($this->uri->segment(1) == 'kontak') ? "btn btn_hover" : "btn"?>">Kontak</a></li>
        <li><a href="index.php/produk" class="<?php echo ($this->uri->segment(1) == 'produk' || $this->uri->segment(1) == 'keranjang_belanja' || $this->uri->segment(1) == 'checkout') ? "btn btn_hover" : "btn"?>">Produk</a></li>
        <li><a href="index.php/kritik_saran" class="<?php echo ($this->uri->segment(1) == 'kritik_saran' || $this->uri->segment(1) == 'kritik_saran_ok') ? "btn btn_hover" : "btn"?>">Kritik dan Saran</a></li>
        <li><a href="index.php/akun" class="<?php echo ($this->uri->segment(1) == 'akun') ? "btn btn_hover" : "btn"?>">Akun</a></li>
    </ul>

    <!--Shopping Cart-->
    <div class="cart">
        <img  src="images/cart.png" alt="" title="">
        <a href="index.php/keranjang_belanja"><b>Shopping Cart</b> : <?php echo $this->cart->total_items();?> Item(s)</a>
    </div>
</div>
